/**
 * 生成组件的唯一标识符
 */
export const uniqueKey = () => {
    return Math.random().toString(32).slice(2)
}
export function checkComponents(components) {
    // if()
    for (let i = 0; i < components.length; i++) {
        if (components.hasOwnProperty("contentSetting")) {
            return components[i]
        } else {
            return components[i]
        }

    }
} 